﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HypermarketSerialPort
{
    class Transaction
    {
        private string mBarcode = string.Empty;
        public string Barcode
        {
            get { return mBarcode; }
            set { mBarcode = value; }
        }

        string mBatchID = string.Empty;
        public string BatchID
        {
            get { return mBatchID; }
            set { mBatchID = value; }
        }

        string mProductName = string.Empty;
        public string ProductName
        {
            get{return mProductName;}
            set{mProductName = value;}
        }

        string mCostPirce = string.Empty;
        public string CostPirce
        {
            get { return mCostPirce; }
            set { mCostPirce = value; }
        }

        string mSellingPrice = string.Empty;
        public string SellingPrice
        {
            get { return mSellingPrice; }
            set { mSellingPrice = value; }
        }

        string mDiscount = string.Empty;
        public string Discount
        {
            get { return mDiscount; }
            set { mDiscount = value; }
        }

        int mUnitSold = 0;
        public int UnitSold
        {
            get { return mUnitSold; }
            set { mUnitSold = value; }
        }
    }
}
